package com.dkd.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 点位管理对象 tb_node
 *
 * @author yuwei
 * @date 2024-08-31
 */
@ApiModel(description = "点位管理对象")
public class Node extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点位ID */
    @ApiModelProperty(value = "点位ID", example = "1")
    private Long id;

    /** 点位名称 */
    @Excel(name = "点位名称")
    @ApiModelProperty(value = "点位名称", example = "天安门广场")
    private String nodeName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty(value = "详细地址", example = "北京市东城区长安街")
    private String address;

    /** 商圈类型 */
    @Excel(name = "商圈类型")
    @ApiModelProperty(value = "商圈类型", example = "1")
    private Long businessType;

    /** 所在区域 */
    @Excel(name = "所在区域")
    @ApiModelProperty(value = "所在区域", example = "1")
    private Long regionId;

    /** 合作商 */
    @Excel(name = "合作商")
    @ApiModelProperty(value = "合作商", example = "1")
    private Long partnerId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setNodeName(String nodeName)
    {
        this.nodeName = nodeName;
    }

    public String getNodeName()
    {
        return nodeName;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    public void setBusinessType(Long businessType)
    {
        this.businessType = businessType;
    }

    public Long getBusinessType()
    {
        return businessType;
    }

    public void setRegionId(Long regionId)
    {
        this.regionId = regionId;
    }

    public Long getRegionId()
    {
        return regionId;
    }

    public void setPartnerId(Long partnerId)
    {
        this.partnerId = partnerId;
    }

    public Long getPartnerId()
    {
        return partnerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("nodeName", getNodeName())
                .append("address", getAddress())
                .append("businessType", getBusinessType())
                .append("regionId", getRegionId())
                .append("partnerId", getPartnerId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}